<div>
  <% slides.each_slice(3).each do |slides_group| %>
      <%= render slides_group %>
  <% end %>
</div>
